﻿namespace BasicData.ErrorCode
{
    /// <summary>
    /// 封装对象
    /// </summary>
    /// <typeparam name="T">模型</typeparam>
    public class APIResult<T>
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public ResultCode Code {  get; set; }
        /// <summary>
        /// 提示信息
        /// </summary>
        public string Message {  get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T Data {  get; set; }
    }
}
